package serverwork;

import com.sw.servlet.HttpServlet;

import java.util.HashMap;
import java.util.Map;

/**
 * @author sw
 * @project minicat
 * @description 应用信息
 * @date 2020/5/5 21:01
 */
public class ApplicationInfo {
    private String port;
    private String ip;
    private String appName;
    private String appPath;
    private String accessPath;
    private Map<String,HttpServlet> serverletMap=new HashMap<>();

    public ApplicationInfo(String port, String ip, String appName,String appPath,String accessPath ) {
        this.port = port;
        this.ip = ip;
        this.appName = appName;
        this.appPath=appPath;
        this.accessPath=accessPath;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public Map<String, HttpServlet> getServerletMap() {
        return serverletMap;
    }

    public void setServerletMap(Map<String, HttpServlet> serverletMap) {
        this.serverletMap = serverletMap;
    }

    public String getAppPath() {
        return appPath;
    }

    public void setAppPath(String appPath) {
        this.appPath = appPath;
    }

    public String getAccessPath() {
        return accessPath;
    }

    public void setAccessPath(String accessPath) {
        this.accessPath = accessPath;
    }
}
